package com.qding.park.manager.service.queue.facade.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qding.park.common.core.exceptions.BaseException;
import com.qding.park.manager.facade.queue.service.DelayCheckFacade;
import com.qding.park.manager.pojo.TbCarlock;
import com.qding.park.manager.pojo.TbInvitecard;
import com.qding.park.manager.pojo.TbReserve;
import com.qding.park.manager.service.queue.biz.InviteBiz;
import com.qding.park.manager.service.queue.biz.LockCarBiz;
import com.qding.park.manager.service.queue.biz.ReserveBiz;

@Service("delayCheckFacade")
public class DelayCheckFacadeImpl implements DelayCheckFacade{
    
    @Autowired
    private LockCarBiz  lockCarBiz;
    
    @Autowired
    private InviteBiz  inviteBiz;
    
    @Autowired
    private ReserveBiz reserveBiz;

    @Override
    public void lockTimeOut(TbCarlock tbCarlock) throws BaseException {
        lockCarBiz.lockTimeOut(tbCarlock);
        
    }

    @Override
    public void inviteTimeOut(TbInvitecard tbInvitecard) throws BaseException {
        inviteBiz.inviteTimeOut(tbInvitecard);
        
    }

    @Override
    public void reserveDelayTimeOut(TbReserve tbReserve) throws BaseException {
        reserveBiz.reserveDelayTimeOut(tbReserve);
        
    }

    @Override
    public void reserveTimeOut(TbReserve tbReserve) throws BaseException {
        reserveBiz.reserveTimeOut(tbReserve);
        
    }

}
